Followup r68325, with comment describing intent of code.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 9 Jan 2011 22:54:51 +0000 (22:54 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 9 Jan 2011 22:54:51 +0000 (22:54 +0000)
includes/media/GIF.php

index b7c3f91..c4c8056 100644 (file)
@@ -73,7 +73,8 @@ class GIFHandler extends BitmapHandler {
                
                if (!$metadata || $metadata['frameCount'] <=  1)
                        return $original;
-               
+
+               /* Preserve original image info string, but strip the last char ')' so we can add even more */
                $info = array();
                $info[] = substr( $original, 1, strlen( $original )-2 );